package c.e.a.b.f.b;

import android.text.TextUtils;
import b.i.b.f;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class a4 {
    public long A;
    public long B;
    public long C;
    public String D;
    public boolean E;
    public long F;
    public long G;
    public final u4 a;
    public final String b;
    public String c;
    public String d;
    public String e;
    public String f;
    public long g;
    public long h;
    public long i;
    public String j;
    public long k;
    public String l;
    public long m;
    public long n;
    public boolean o;
    public long p;
    public boolean q;
    public boolean r;
    public String s;
    public Boolean t;
    public long u;
    public List<String> v;
    public String w;
    public long x;
    public long y;
    public long z;

    public a4(u4 u4Var, String str) {
        Objects.requireNonNull(u4Var, "null reference");
        f.N(str);
        this.a = u4Var;
        this.b = str;
        u4Var.a().g();
    }

    public final void A(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.f, str) ^ 1;
        this.f = str;
    }

    public final String B() {
        this.a.a().g();
        return this.w;
    }

    public final void C(long j) {
        int i = 1;
        f.J(j >= 0);
        this.a.a().g();
        boolean z = this.E;
        if (this.g == j) {
            i = 0;
        }
        this.E = i | z;
        this.g = j;
    }

    public final void D(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.j, str) ^ 1;
        this.j = str;
    }

    public final String E() {
        this.a.a().g();
        return this.e;
    }

    public final void F(long j) {
        this.a.a().g();
        this.E |= this.F != j ? 1 : 0;
        this.F = j;
    }

    public final void G(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.l, str) ^ 1;
        this.l = str;
    }

    public final String H() {
        this.a.a().g();
        return this.f;
    }

    public final void I(long j) {
        this.a.a().g();
        this.E |= this.G != j ? 1 : 0;
        this.G = j;
    }

    public final void J(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.D, str) ^ 1;
        this.D = str;
    }

    public final long K() {
        this.a.a().g();
        return this.h;
    }

    public final long L() {
        this.a.a().g();
        return this.i;
    }

    public final String M() {
        this.a.a().g();
        return this.j;
    }

    public final long N() {
        this.a.a().g();
        return this.k;
    }

    public final String O() {
        this.a.a().g();
        return this.l;
    }

    public final long P() {
        this.a.a().g();
        return this.m;
    }

    public final long Q() {
        this.a.a().g();
        return this.n;
    }

    public final void R(long j) {
        this.a.a().g();
        this.E |= this.p != j ? 1 : 0;
        this.p = j;
    }

    public final long S() {
        this.a.a().g();
        return this.u;
    }

    public final boolean T() {
        this.a.a().g();
        return this.o;
    }

    public final long U() {
        this.a.a().g();
        return this.g;
    }

    public final long V() {
        this.a.a().g();
        return this.F;
    }

    public final long W() {
        this.a.a().g();
        return this.G;
    }

    public final void X() {
        this.a.a().g();
        long j = this.g + 1;
        if (j > 2147483647L) {
            this.a.d().i.b("Bundle index overflow. appId", q3.s(this.b));
            j = 0;
        }
        this.E = true;
        this.g = j;
    }

    public final void a(long j) {
        this.a.a().g();
        this.E |= this.h != j ? 1 : 0;
        this.h = j;
    }

    public final void b(Boolean bool) {
        this.a.a().g();
        boolean z = this.E;
        Boolean bool2 = this.t;
        int equals = (bool2 == null && bool == null) ? 1 : bool2 == null ? 0 : bool2.equals(bool);
        this.E = z | (equals ^ 1);
        this.t = bool;
    }

    public final void c(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.c, str) ^ 1;
        this.c = str;
    }

    public final void d(List<String> list) {
        this.a.a().g();
        List list2 = this.v;
        boolean equals = (list2 == null && list == null) ? true : list2 == null ? false : list2.equals(list);
        if (!equals) {
            this.E = true;
            this.v = list != null ? new ArrayList(list) : null;
        }
    }

    public final void e(boolean z) {
        this.a.a().g();
        this.E |= this.o != z ? 1 : 0;
        this.o = z;
    }

    public final String f() {
        this.a.a().g();
        String str = this.D;
        J(null);
        return str;
    }

    public final long g() {
        this.a.a().g();
        return this.p;
    }

    public final boolean h() {
        this.a.a().g();
        return this.q;
    }

    public final boolean i() {
        this.a.a().g();
        return this.r;
    }

    public final Boolean j() {
        this.a.a().g();
        return this.t;
    }

    public final List<String> k() {
        this.a.a().g();
        return this.v;
    }

    public final void l(long j) {
        this.a.a().g();
        this.E |= this.i != j ? 1 : 0;
        this.i = j;
    }

    public final void m(String str) {
        this.a.a().g();
        if (TextUtils.isEmpty(str)) {
            str = null;
        }
        this.E |= t9.q0(this.d, str) ^ 1;
        this.d = str;
    }

    public final void n(boolean z) {
        this.a.a().g();
        this.E |= this.q != z ? 1 : 0;
        this.q = z;
    }

    public final String o() {
        this.a.a().g();
        return this.b;
    }

    public final void p(long j) {
        this.a.a().g();
        this.E |= this.k != j ? 1 : 0;
        this.k = j;
    }

    public final void q(String str) {
        this.a.a().g();
        if (TextUtils.isEmpty(str)) {
            str = null;
        }
        this.E |= t9.q0(this.s, str) ^ 1;
        this.s = str;
    }

    public final void r(boolean z) {
        this.a.a().g();
        this.E |= this.r != z ? 1 : 0;
        this.r = z;
    }

    public final String s() {
        this.a.a().g();
        return this.c;
    }

    public final void t(long j) {
        this.a.a().g();
        this.E |= this.m != j ? 1 : 0;
        this.m = j;
    }

    public final void u(String str) {
        this.a.a().g();
        if (TextUtils.isEmpty(str)) {
            str = null;
        }
        this.E |= t9.q0(this.w, str) ^ 1;
        this.w = str;
    }

    public final String v() {
        this.a.a().g();
        return this.d;
    }

    public final void w(long j) {
        this.a.a().g();
        this.E |= this.n != j ? 1 : 0;
        this.n = j;
    }

    public final void x(String str) {
        this.a.a().g();
        this.E |= t9.q0(this.e, str) ^ 1;
        this.e = str;
    }

    public final String y() {
        this.a.a().g();
        return this.s;
    }

    public final void z(long j) {
        this.a.a().g();
        this.E |= this.u != j ? 1 : 0;
        this.u = j;
    }
}
